# -*- coding: utf-8 -*-
# https://blog.csdn.net/weixin_52040868
# 公众号：测个der
# 微信：qing_an_an

from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
import sys
from PyQt5.QtWebEngineWidgets import *

"""pip install PyQtWebEngine -i https://pypi.tuna.tsinghua.edu.cn/simple"""

class Main(QMainWindow):
    def __init__(self):
        super(Main, self).__init__()
        self.setGeometry(5,30,1355,800)
        self.browser = QWebEngineView()

        self.browser.load(QUrl('https://blog.csdn.net/weixin_52040868'))
        self.setCentralWidget(self.browser)

if __name__ == '__main__':
    app = QApplication(sys.argv)
    ma = Main()
    ma.show()
    sys.exit(app.exec_())